package cn.tj212.xiaoyin.common.util;

import java.util.Calendar;

public class CalendarUtil {
    public static long getTimeInSeconds() {
        return getTimeInMills()/1000L;
    }

    public static long getTimeInMills() {
        Calendar now=Calendar.getInstance();
        return now.getTimeInMillis();
    }
}
